
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><title>
	炮弹走私
</title><script language="javascript" type="text/javascript"> 
            var applicationPath = "";
        </script>
<meta http-equiv="content-language" content="zh-CN" />
<link rel="icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<meta name="author" content="Hishop development team" />
<meta name="GENERATOR" content="微分销" />
<meta name="renderer" content="webkit" /><link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css" />
<script type="text/javascript" src="../admin/js/browserdetect.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../admin/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="../admin/js/jquery.formvalidation.js"></script>
<link rel="stylesheet" href="../admin/css/common.css" />
<script src="../admin/js/Framenew.js?3.3.1bk1"></script>
<meta name="keywords" /><meta name="description" />
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
<script src="/utility/jquery.bigautocomplete.js" type="text/javascript"></script>
<link rel="stylesheet" href="/utility/jquery.bigautocomplete.css" type="text/css" media="screen" />
    <script>
        function selecttype(typeselect) {
            if (typeselect == 1) {
                $("#NumberId").show();
                $("#NamesId").hide();
            } else {
                $("#NumberId").hide();
                $("#NamesId").show();
            }
        }

        $(function () {
            selecttype($("input[type='radio']:checked").val());
            var searchajax = "?action=SearchKey";
            $("#ctl00_ContentPlaceHolder1_txtslsdistributors").bigAutocomplete({ url: searchajax, width: 230 });

            $("#ctl00_ContentPlaceHolder1_txtslsdistributors").keypress(function (e) {
                if (e.which == 13) {
                    return false;
                }
            });
        });

        function vailidbatch() {



            if ($("input[type='radio']:checked").val() == "1") {//输入数量
                if ($("#ctl00_ContentPlaceHolder1_txtnumber").val().replace(/\s/g, "") == ""
                 || isNaN($("#ctl00_ContentPlaceHolder1_txtnumber").val().replace(/\s/g, ""))
                 || parseInt($("#ctl00_ContentPlaceHolder1_txtnumber").val().replace(/\s/g, "")) <= 0
                 || parseInt($("#ctl00_ContentPlaceHolder1_txtnumber").val().replace(/\s/g, "")) > 999) {
                    HiTipsShow("生成数量:请输入1~999的正整数！", 'error');
                    return false;
                }

            } else { //输入指定账号
              

                if ($("#ctl00_ContentPlaceHolder1_txtslsdistributors").val().replace(/\s/g, "") == "") {
                    HiTipsShow("请输入要生成的分销账号", 'error');
                    return false;
                }

                var tag = true;
                var regA = /[\w\d]/,
                    regB = /(\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)/;
                var arr = $("#ctl00_ContentPlaceHolder1_txtdistributornames").val().split('\n');
                $.each(arr, function (i, e) {
                    var is = regA.test(e) || regB.test(e),
                        len = e.length;
                    var a = (len >= 6) && (len <= 50) ? true : false;
                    if (!is || !a) {
                        HiTipsShow("出现非法字符或长度不符合,请检查！", 'error');
                        tag = false;
                        return false;
                    }
                });
                return tag
            }
        }


</script>
</head>
<body class="theme theme--blue">

    <header class="ui-header navbar-fixed-top">
        <div class="ui-header-inner clearfix">
            <h1 class="ui-header-logo">
                <a href="/admin/" title="管理后台">
                    <span class="version"><i>3.4</i></span>
                </a>
            </h1>
            <nav class="ui-header-nav">
                <ul class="clearfix">
<li class="divide">|</li>
<li mid="m01"><a href="../Default.html" title="店铺">店铺</a></li>
<li mid="m02"><a href="../productonsales.html" title="商品">商品</a></li>
<li mid="m03"><a href="../manageorder.html" title="订单">订单</a></li>
<li class="divide">|</li>
<li mid="m04"><a href="../MemberGaiKuang.html" title="会员">会员</a></li>
<li class=" active" mid="m05"><a href="../DistributorSummary.html" title="分销">分销</a></li>
<li class="divide">|</li>
<li mid="m06"><a href="#" title="微信">微信</a></li>
<li mid="m07"><a href="#" title="微博">微博</a></li>
<li mid="m11"><a href="#" title="服务窗">服务窗</a></li>
<li class="divide">|</li>
<li mid="m08"><a href="#" title="营销">营销</a></li>
<li class="divide">|</li>
<li mid="m09"><a href="../Alipay.html" title="设置">设置</a></li>
<li mid="m10"><a href="../salereport.html" title="分析统计">分析统计</a></li>
</ul>

            </nav>
            <div class="ui-header-user ">
                <div class="customer-wrap">
                </div>
                <div class="dropdown hover dropdown-right">
                    <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="txt">
                            <span class="ellipsis team_name">炮弹走私</span><span class="dash"> - </span><span>admin</span>
                        </span>
                        <i class="caret"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/Settings/EditManager.aspx?UserID=1"><span class="glyphicon glyphicon-user"></span>个人信息</a></li>
                        <li><a href="/admin/Settings/EditManagerPassword.aspx?UserID=1"><span class="glyphicon glyphicon-list-alt"></span>修改密码</a></li>
                        <li class="divide"></li>
                        <li><a href="/Admin/LoginExit.aspx"><span class="glyphicon glyphicon-indent-right"></span>退出</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div class="container">
        <div class="app">
            <div class="app-inner clearfix">


      <div class="page-header">
            <h2 id="ctl00_ContentPlaceHolder1_EditTitle">批量生成分销商账号</h2>
          <small>自动生成用户默认密码：888888</small>
   </div>

    <form name="aspnetForm" method="post" action="branchadddistributors.aspx" id="aspnetForm">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg0NDE1MTMyOA9kFgJmD2QWCAIBDxYCHgRUZXh0BYQKPHVsIGNsYXNzPSJjbGVhcmZp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lPSLmibnph4/nlJ/miJDotKblj7ciPuaJuemHj+eUn+aIkOi0puWPtzwvYT48L2xpPg0KPC91bD4NCjxlbSBjbGFzcz0iZ2x5cGhpY29uIGljby15b25namluIj48L2VtPg0KPHNwYW4+5L2j6YeR566h55CGPC9zcGFuPg0KPHVsIGlpZD0iZnhpMDMiPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9GZW54aWFvL0NvbW1pc3Npb25zQWxsTGlzdC5hc3B4IiB0aXRsZT0i5L2j6YeR5piO57uGIj7kvaPph5HmmI7nu4Y8L2E+PC9saT4NCjxsaT48YSBocmVmPSIvQWRtaW4vRmVueGlhby9CYWxhbmNlRHJhd0FwcGx5TGlzdC5hc3B4IiB0aXRsZT0i5o+Q546w55Sz6K+3Ij7mj5DnjrDnlLPor7c8L2E+PC9saT4NCjxsaT48YSBocmVmPSIvQWRtaW4vRmVueGlhby9CYWxhbmNlRHJhd1JlcXVlc3RMaXN0LmFzcHgiIHRpdGxlPSLmj5DnjrDorrDlvZUiPuaPkOeOsOiusOW9lTwvYT48L2xpPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9GZW54aWFvL0JhbGFuY2VEcmF3UmVxdWVzdFNldC5hc3B4IiB0aXRsZT0i5o+Q546w6K6+572uIj7mj5DnjrDorr7nva48L2E+PC9saT4NCjwvdWw+DQpkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBSVjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJHJhZGlvbnVtYmVyBSZjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJHJhZGlvYWNjb3VudLQRTwo+s5cgE4CuDWgB9FjJo0YH" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="9B54EF8B" />
</div>

          <div class="form-horizontal" id="Distributorform">

             <div class="form-group has-feedback">
                        <label class="col-xs-2 control-label"><em>*</em>生成规则：</label>
                        <div class="col-xs-5">
		                    <div class="radio-inline">
		                        <label>
		                            <input value="1" name="ctl00$ContentPlaceHolder1$radioadd" type="radio" id="ctl00_ContentPlaceHolder1_radionumber" onclick="selecttype(1)" checked="checked" /> 指定数量生成
		                        </label>
		                    </div>
		                    <div class="radio-inline">
		                        <label>
		                            <input value="2" name="ctl00$ContentPlaceHolder1$radioadd" type="radio" id="ctl00_ContentPlaceHolder1_radioaccount" onclick="selecttype(2)" /> 指定账号生成
		                        </label>
		                    </div>
		                   
                        </div>
                    </div>


               <div class="form-group">
                        <label for="inputEmail3" class="col-xs-2 control-label"><em>*</em>推荐分销商：</label>
                        <div class="col-xs-3">
                            <input name="ctl00$ContentPlaceHolder1$txtslsdistributors" type="text" id="ctl00_ContentPlaceHolder1_txtslsdistributors" class="form-control  inputw120" autocomplete="off" />
                        </div>
                </div>

                <div class="form-group" id="NumberId">
                        <label for="inputEmail3" class="col-xs-2 control-label"><em>*</em>输入生成数量：</label>
                        <div class="col-xs-3">
                            <input name="ctl00$ContentPlaceHolder1$txtnumber" type="text" id="ctl00_ContentPlaceHolder1_txtnumber" class="form-control  inputw120" />
                            <small >请输入1~999的正整数</small>
                        </div>
                </div>

                
               <div class="form-group" id="NamesId" style="display:none">
                        <label for="inputEmail3" class="col-xs-2 control-label"><em>*</em>输入帐号：</label>
                        <div class="col-xs-4">
                           
                            <textarea name="ctl00$ContentPlaceHolder1$txtdistributornames" id="ctl00_ContentPlaceHolder1_txtdistributornames" class="form-control" rows="8" wrap="off" cols="70"></textarea>
                            <small>每个分销商账号在6~50个英文字符，一行一个</small>
                        </div>
                </div>

            

               <div class="form-group">
                        <div class="col-xs-offset-2 col-xs-10">
                             <input type="submit" name="ctl00$ContentPlaceHolder1$batchCreate" value="生 成" onclick="return vailidbatch();" id="ctl00_ContentPlaceHolder1_batchCreate" class="btn btn-success" />　
                            
                        </div>
                 </div>

       


      </div>














    </form>


            </div>
        </div>
        <aside class="ui-sidebar sidebar" style="min-height: 533px;">
            <nav class="well" id="menu_left">
                <ul iid="fxi01">
<li><a href="../DistributorSummary.html" title="分销概况">分销概况</a></li>
<li><a href="DistributorSummary.html" title="申请分销设置">申请分销设置</a></li>
<li><a href="StoreCardSet.html" title="掌柜名片设置">掌柜名片设置</a></li>
</ul>
<em class="glyphicon ico-fenxiao"></em>
<span>分销商管理</span>
<ul iid="fxi02">
<li><a href="distributorlist.html" title="分销商列表">分销商列表</a></li>
<li><a href="distributorgradelist.html" title="分销商等级">分销商等级</a></li>
<li><a href="distributorupdateset.html" title="分销商升级奖励">分销商升级奖励</a></li>
<li><a href="DistributorStatistics.html" title="销售排行榜">销售排行榜</a></li>
<li><a href="CustomDistributorStatistics.html" title="自定义排行榜">自定义排行榜</a></li>
<li class=" active"><a href="branchadddistributors.html" title="批量生成账号">批量生成账号</a></li>
</ul>
<em class="glyphicon ico-yongjin"></em>
<span>佣金管理</span>
<ul iid="fxi03">
<li><a href="CommissionsAllList.html" title="佣金明细">佣金明细</a></li>
<li><a href="BalanceDrawApplyList.html" title="提现申请">提现申请</a></li>
<li><a href="BalanceDrawRequestList.html" title="提现记录">提现记录</a></li>
<li><a href="BalanceDrawRequestSet.html" title="提现设置">提现设置</a></li>
</ul>

            </nav>
        </aside>
    </div>
    <div class="mt20"></div>
</body>
</html>
